<div class="data-input">
    <fieldset>
        <legend><?php echo "$formTitle";?></legend>
        <?php
          echo form_open($subLink,'');
        ?>
        <label>Nama</label><?php echo form_input("nama","","id=nama");?>
        <label>Alamat</label><?php echo form_input("alamat","","id=alamat");?>
        <label>Penanggung Jawab</label><?php echo form_input("penanggung_jawab","","id=penanggung_jawab");?>
        <label>No. Telepon</label><?php echo form_input("noTelp","","id=noTelp");?>
        <label>Tingkat Pendidikan</label>
        <select name="tingkatPendidikan" id="tingkatPendidikan">
            <option value="">Pilih tingkat pendidikan</option>
            <?php
               foreach ($listTingkatPendidikan as $rowz){
            ?>
              <option value="<?php echo $rowz['id'];?>"><?php echo $rowz['nama'];?></option>
            <?php
               }
            ?>
        </select>
        <fieldset class="input-process">
          <?php
            echo form_submit('add', 'Simpan', 'class=button style=margin-right:2px');
            echo form_button('Batal', 'Batal', 'class=button onClick='."javascript:location.href='".base_url()."index.php/sekolah/'".'');
          ?>
        </fieldset>
        <?php
         echo form_close();
        ?>
    </fieldset>
</div>
